<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>首页</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="__PUBLIC__/assets/i/favicon.png">
    <link rel="stylesheet" href="__PUBLIC__/assets/css/amazeui.min.css">
    <link rel="stylesheet" href="__PUBLIC__/assets/css/app.css">
    <style>
        .yl-span {
            /*display: block;*/
            float: left;
        }

        .yl-table td {
            border: solid 10px #fff;
        }
    </style>
</head>
<body>
<!-- Header -->
<header data-am-widget="header" class="am-header am-header-default">

    <h1 class="am-header-title">
        <span class="yl-span"><img src="__PUBLIC__/img/dingwei.png">上海</span>
        爸妈很大
    </h1>
</header>
<div>
    <form method="post" action="__URL__/regPost">
        <div style="width: 100%;text-align: center;margin-top: 120px;">
            <input name="phone" id="phone" type="text" placeholder="手机号" style="margin-bottom: 20px;"/>
            <input name="pwd" id="pwd" type="text" placeholder="密码" style="margin-bottom: 20px;"/><br/>
            <input type="submit" value="注册" class="am-btn am-btn-default" id="sub"/>
        </div>
    </form>
</div>

<!-- Navbar -->
<div data-am-widget="navbar" class="am-navbar am-cf am-navbar-default "
     id="">
    <ul class="am-navbar-nav am-cf am-avg-sm-4">
        <li>
            <a href="{:U('Index/index')}">
                <img src="__PUBLIC__/img/shouye_red.png">
                <span class="am-navbar-label">首页</span>
            </a>
        </li>
        <li>
            <a href="#" style="color: #676767;">
                <img src="__PUBLIC__/img/wode.png">
                <span class="am-navbar-label">我的</span>
            </a>
        </li>
    </ul>
</div>

<script src="__PUBLIC__/assets/js/jquery.min.js"></script>
<script src="__PUBLIC__/assets/js/amazeui.min.js"></script>
<script>
    $(function(){
        $("#sub").click(function(){
            if($("#phone").val()==''){
                alert("请输入手机号");
                return false;
            }
            if($("#pwd").val()==''){
                alert("请输入密码");
                return false;
            }
            return true;
        });
    })
</script>
</body>
</html>
